package com.ruoyi.work.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

/**
 * @Author: MMDZ
 * @Desc: TODO 汇总数据
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserHourReport extends ReportCondition {
    private String deptName;//部门
    private String nickName;//姓名
    private String userName;//工号
    private String postName;//岗位性质
    private String strDate;//日期
    private Double sumProjectHour;//项目合计工时
    private List<Map<String, Double>> projectHours;//项目工时

    public UserHourReport(String deptName, String nickName, String userName, String postName, String strDate, Double sumProjectHour) {
        this.deptName = deptName;
        this.nickName = nickName;
        this.userName = userName;
        this.postName = postName;
        this.strDate = strDate;
        this.sumProjectHour = sumProjectHour;
    }
}
